<div class="ss-platform-main-header">
  <div class="switch-workspaces-icon" routerLink="/" *ngIf="$app.header.depth==2"><i title="选择工作区">&#xE003;</i></div>
  <div class="title" [class.ss-platform-pointer]="$app.header.depth!=1">
    <div class="set"><!-- *ngIf="$app.header.depth<=2"-->
      <span class="avatar" title="西安欣桥市场、小张"><img src="assets/img/avatar.jpg"><span>西安欣桥市场、小张</span></span>
      <em class="pipe"></em>
      <span class="icon procedure" (click)='$app.publish(GlobalEvent.ShowSidebarProcedure);'><i>&#xe024;</i><em>1</em></span>
      <span class="icon message unread" (click)='$app.publish(GlobalEvent.ShowSidebarNotice)'><i>&#xe013;</i><em>1</em></span>
    </div>
    <div class="nav" [class.second]="$app.header.depth==3||$app.header.depth==4" routerLink="{{$app.header.backRouter}}">
      <h1><span><cite>{{$app.header.title}}</cite><i *ngIf="$app.header.depth==2" (click)="isDisplayWorkspaceManager=true;$event.stopPropagation();">&#xe002;</i></span></h1>
      <h2 *ngIf="$app.header.depth==3"><span><cite>{{$app.header.secondTitle}}</cite></span></h2>
    </div>
  </div>
  <div class="menu" *ngIf="$app.header.depth==2">
    <div class="list">
      <ul class="cl">
        <li routerLinkActive="current" routerLink="/spaces/1024/tables"><span>表格与动态</span></li>
        <li routerLinkActive="current" routerLink="/spaces/1024/procedures"><span>流程中心</span></li><!--
        <li routerLinkActive="current" routerLink="/spaces/warehouse"><span>数据仓库</span></li>
        <li routerLinkActive="current" routerLink="/spaces/dashboards"><span>仪表盘</span></li>-->
      </ul>
    </div>
  </div>
</div>
<!-- 工作区管理 -->
<div class="ss-platform-main-workspace-manager" *ngIf="isDisplayWorkspaceManager"></div>
